package com.caisejingyu.whales.home.devices.printer

import android.content.Context

/**
 * Created by fengxing on 2018/7/5.
 */
class PrintTime(context: Context) {
    private val spName = "PrintTime"
    private val spKey = "PrintTime"
    private val spStore = SpStore(context, spName)

    fun setPrintTime(time: Int) = spStore.putInt(spKey, time)

    fun getPrintTime(): Int = spStore.getInt(spKey, 70)
}